package com.huilian.iotbox.data.service.impl;

import com.huilian.iotbox.data.dao.LedgerMerchantRecordCommonDao;
import com.huilian.iotbox.data.po.LedgerMerchantRecord;
import com.huilian.iotbox.data.service.LedgerMerchantRecordCommonService;
import com.huilian.iotbox.data.vo.LedgerMerchantRecordVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LedgerMerchantRecordCommonServiceImpl implements LedgerMerchantRecordCommonService {

    @Autowired
    private LedgerMerchantRecordCommonDao ledgerMerchantRecordCommonDao;

    @Override
    public List<LedgerMerchantRecordVo> findAllByCondition(LedgerMerchantRecord ledgerMerchantRecordCondition) {
        return ledgerMerchantRecordCommonDao.findAllByCondition(ledgerMerchantRecordCondition);
    }
}
